<div class="navbar-header">
	<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse1" style="float:left;">
		<span class="sr-only">Toggle navigation</span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
		<span class="icon-bar"></span>
	</button>
</div>
<div class="container">
	<!-- Menu -->
	<div class="collapse navbar-collapse navbar-ex1-collapse1">
		<ul class="navbar-nav">
			<li class="selected">
				<a href="<?php echo BASE_URL.'/'.$this->admin.'/dashboard' ?>" title="<?php echo $this->admin.' dashboard'; ?>"> Dashboard </a>
			</li>
            <?php if($this->session->userdata('admin_type') == 'Web Admin') { ?>
            <li class="dropdown">
				<a href="#" title="" class="dropdown-toggle" data-toggle="dropdown"> Admin </a>
				<ul class="dropdown-menu">
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_admin';?>">Create Admin</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_admin';?>">Manage Admin</a>
					</li>
				</ul>
			</li>
            <?php } ?>
			<li class="dropdown">
				<a href="#" title="" class="dropdown-toggle" data-toggle="dropdown"> Panelist </a>
				<ul class="dropdown-menu">
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_panelist';?>">Create Panelist</a>
					</li>
					<li>
						<a href="manage_panelist.html">Manage Panelist</a>
					</li>
				</ul>
			</li>
            <li class="dropdown">
				<a href="#" title="" class="dropdown-toggle" data-toggle="dropdown"> Award Management </a>
				<ul class="dropdown-menu">
                	<?php if($this->session->userdata('admin_type') == 'Web Admin'){  ?>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_event';?>">Create Event</a>
					</li><?php } ?>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event';?>">Manage Event</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event_faqs';?>">Create / Manage Event FAQs</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_event_videos';?>">Create / Manage Event Videos</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_event_t&amp;c';?>">Create / Manage Event T&amp;C</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_previous_winners';?>">Create / Manage Previous Winners</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_award';?>">Create Award</a>
					</li>
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_award';?>">Manage Award</a>
					</li>
				</ul>
			</li>
			<li class="dropdown">
				<a href="#" title="" class="dropdown-toggle" data-toggle="dropdown"> Reports </a>
				<ul class="dropdown-menu">
					<li>
						<a href="<?php echo BASE_URL.'/'.$this->admin.'/report1.html';?>">Admin List Report</a>
					</li>
					<li>
						<a href="reports1.html">Panellist List Report</a>
					</li>
					<li>
						<a href="reports2.html">Event Summary Report</a>
					</li>
					<li>
						<a href="reports3.html">Panelist List by Event Report</a>
					</li>
					<!-- <li><a href="#">Nomination by Event Report</a></li>-->
					<li>
						<a href="reports4.html">Application Summary by Event Report</a>
					</li>
					<li>
						<a href="reports5.html">Winner by Event Report</a>
					</li>
				</ul>
			</li>
		</ul>
	</div>
	<!-- Menu -->
	<ul class="nav1 navbar-nav2 left_nav">
		<li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/dashboard'){ echo 'class="selected"'; }?>>
			<a href="<?php echo BASE_URL.'/'.$this->admin.'/dashboard' ?>" title="<?php echo $this->admin.' dashboard'; ?>"> <img src="<?php echo ASSET_URL; ?>img/admin/dashboard.png" alt="dashboard" class="nav_icons" align="left" style="padding:0px 0px 0px 0px;"> Dashboard </a>
		</li>
        <?php if($this->session->userdata('admin_type') == 'Web Admin') { ?>
        <li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/create_admin' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_admin' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/edit_admin'){ echo 'class="selected"'; }?>>
			<a href="#" title=""> <img src="<?php echo ASSET_URL; ?>img/admin/admin.png" alt="Admin" class="nav_icons" align="left" style="padding:0px 0px 0px 0px;"> Admin </a>
			<ul>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_admin';?>">Create Admin</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_admin';?>">Manage Admin</a>
				</li>
			</ul>
		</li>
        <?php } ?>
		<li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/create_panelist' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_panelist'){ echo 'class="selected"'; }?>>
			<a href="#" title=""> <img src="<?php echo ASSET_URL; ?>img/admin/panelist.png" alt="Panelist" class="nav_icons" align="left" style="padding:0px 0px 0px 0px;"> Panelist </a>
			<ul>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_panelist';?>">Create Panelist</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_panelist';?>">Manage Panelist</a>
				</li>
			</ul>
		</li>
        
		<li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/create_event' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_event' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/create_award' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_award' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/edit_award' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_event_faqs' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_event_videos' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/manage_event_t&amp;c'){ echo 'class="selected"'; }?>>
			<a href="#" title=""> <img src="<?php echo ASSET_URL; ?>img/admin/awards.png" alt="Events" class="nav_icons" align="left" style="padding:7px 0px 0px 0px;"> Award Management </a>
			<ul>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_award';?>">Awards</a>
				</li>
                <?php if($this->session->userdata('admin_type') == 'Web Admin'){  ?>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_event';?>">Create Event</a>
				</li>
                <?php } ?>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event';?>">Manage Event</a>
				</li>
                <?php if($this->session->userdata('admin_type') == 'Web Admin'){  ?>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/create_award';?>">Create Award</a>
				</li>
                <?php } ?>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event_faqs';?>">Create / Manage Event FAQs</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event_videos';?>">Create / Manage Event Videos</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/manage_event_t&amp;c';?>">Create / Manage Event T&amp;C</a>
				</li>
				
			</ul>
		</li>
		<li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/report1.html' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/report2.html' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/report3.html' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/report4.html' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/report5.html' || $_SERVER['PATH_INFO'] == '/'.$this->admin.'/report6.html'){ echo 'class="selected"'; }?>>
			<a href="#" title=""> <img src="<?php echo ASSET_URL; ?>img/admin/reports.png" alt="Reports" class="nav_icons" align="left" style="padding:0px 0px 0px 0px;"> Reports </a>
			<ul>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report1.html';?>">Admin List Report</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report2.html';?>">Panellist List Report</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report3.html';?>">Event Summary Report</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report4.html';?>">Panelist List by Event Report</a>
				</li>
				<!-- <li><a href="#">Nomination by Event Report</a></li>-->
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report5.html';?>">Application Summary by Event Report</a>
				</li>
				<li>
					<a href="<?php echo BASE_URL.'/'.$this->admin.'/report6.html';?>">Winner by Event Report</a>
				</li>
			</ul>
		</li>
		<li <?php if($_SERVER['PATH_INFO'] == '/'.$this->admin.'/update_profile'){ echo 'class="selected"'; }?>>
			<a href="<?php echo BASE_URL.'/'.$this->admin.'/update_profile';?>" title=""> <img src="<?php echo ASSET_URL; ?>img/admin/update_profile.png" alt="update Profile" class="nav_icons" align="left" style="padding:9px 0px 0px 0px;">Update Profile</a>
		</li>
	</ul>
	<!-- Menu End -->

	<div class="clearfix"></div>
</div>